/*
 * @Descripttion: vue and node-bs
 * @Author: weijunliang-jul
 * @Date: 2021-03-08 15:42:53
 * @LastEditors: weijunliang-jul
 * @LastEditTime: 2021-03-08 16:05:17
 */
import request from '@/utils/request'

// 请假申请状态 
export function upLeaveState(l_id, upState) {
    return request({
        url: "/teacher/upLeaveState",
        method: "get",
        params: {
            l_id: l_id,
            upState: upState,
        },
    })
}

// 获取请假条
export function getLeave(pageNo, pageSize) {
    return request({
        url: "/teacher/getLeave",
        method: "get",
        params: {
            currPage: pageNo - 1,
            pageNum: pageSize,
        },
    })
}
